package proxy;

import org.apache.log4j.Logger;
import service.Buyer;
import service.impl.RealBuyer;

public class BuyerTest {
    private static Logger logger = Logger.getLogger(BuyerTest.class);
    public static void main(String [] args) throws Exception {
        BaoMu bm = new BaoMu();
        bm.setObj(new Wu());
        String result = bm.eat();
        logger.debug(result);
    }

}
